<?php 
include '../lock.php';
include '../../public/common/mysql_connect.php';

$username=$_POST['username'];
// $password=md5($_POST['password']);
$password=$_POST['password'];
$sql="insert into user(username,password) values('{$username}','{$password}')";

if(mysqli_query($conn,$sql)){
	echo '<script>location="index.php"</script>';
}
?>
